<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=GBK">
    <title>芝麻信用授权</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<!--项目CSS-->
<link rel="stylesheet" href="/Public/css/amui.css">
<link rel="stylesheet" href="/Public/css/authorize_h5.css">
</head>

<body  id="send-auth-code" channeltype="app">
    <div class="info-tips">请填写您的姓名和身份证号</div>
    <form  method="post" enctype="multipart/form-data">
    <div class="am-list" am-mode="flat chip form" type="GET">
        <div class="am-list-body">
                    <div class="am-list-item">
                    <div class="am-list-label">姓名</div>
					<input type="text" name="username" id="username" class="am-list-control" value="">
                </div>
                <div class="am-list-item">
                    <div class="am-list-label">身份证</div>
					<input type="text" name="id_num" id="id_num"  class="am-list-control" value="">
                </div>
        </div>
    </div>
    <button type="submit"  onclick="showHtmlcallJava2()" class="sbt-tel-auth">提交</button>
    </form>
    <div class="copyright">芝麻信用 · 版权所有</div>
</body>

<script type="text/javascript" language="javascript"> 
   //此方法是调用了android的方法returnResult.authenticationID()；
    function showHtmlcallJava2(){
        var str = document.getElementById("username").value;
        var str1 = document.getElementById("id_num").value;
    //调用android中的方法
        window.returnResult.authenticationID(str,str1);
        }
</script>

</html>